package gamecenter.gc.mapper;

import gamecenter.gc.bean.Game;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface User_Game_Mapper {
    public List<Game> get_all_Game_From_User(@Param("user_name") String user_name);
    public void buy_Game(@Param("user_game") String user_game, @Param("game_name") String game_name);
    public void del_Game(@Param("user_game") String user_game, @Param("game_name") String game_name);
    public Game get_Cer_Game(@Param("user_name") String user_name, @Param("game_name") String game_name);

}
